
<!--_meta 作为公共模版分离出去-->
{include file="public/_meta"}

<div class="cl pd-20" style=" background-color:#5bacb6">
	{if condition="$user['user_images'] eq null"}
	<img class="avatar size-XL l radius" src="__PUBLIC__/h-ui/images/ucnter/avatar-default.jpg">
	{else/}
	<img class="avatar size-XL l radius" src="__PUBLIC__{$user['user_images']}">
	{/if}
	<dl>
		<dt>
			<span id="username" class="f-18"></span>
			<span class="pl-10 f-12"></span>
		</dt>
		<dd class="pt-10 f-12" style="margin-left:0">这家伙很懒，什么也没有留下</dd>
	</dl>
</div>
<div class="pd-20">
	<table class="table table-border table-bordered radius">
		<tbody>
		<tr>
			<th class="text-r" width="100">用户组：</th>
			<td>{$user['title']}</td>
		</tr>
		<tr>
			<th class="text-r" width="100">用户ID：</th>
			<td>{$user['id']}</td>
		</tr>
		{if condition="$user['stop_status'] eq 0"}
		<tr>
			<th class="text-r" width="100">用户状态：</th>
			<td>未启用</td>
		</tr>
		{elseif condition="$user['stop_status'] eq 1"/}
		<tr>
			<th class="text-r" width="100">用户状态：</th>
			<td>已启用</td>
		</tr>
		{else/}
		<tr>
			<th class="text-r" width="100">用户名：</th>
			<td>{$user['username']}</td>
		</tr>
		{/if}

		{if condition="$user['username'] eq null"}
		<tr>
			<th class="text-r" width="100">用户名：</th>
			<td>未填写</td>
		</tr>
		{else/}
		<tr>
			<th class="text-r" width="100">用户名：</th>
			<td>{$user['username']}</td>
		</tr>
		{/if}

		{if condition="$user['nickname'] eq null"}
		<tr>
			<th class="text-r" width="100">昵称：</th>
			<td>未填写</td>
		</tr>
		{else/}
		<tr>
			<th class="text-r" width="100">昵称：</th>
			<td>{$user['nickname']}</td>
		</tr>
		{/if}

		{if condition="$user['full_name'] eq null"}
		<tr>
			<th class="text-r" width="100">姓名：</th>
			<td>未填写</td>
		</tr>
		{else/}
		<tr>
			<th class="text-r" width="100">姓名：</th>
			<td>{$user['full_name']}</td>
		</tr>
		{/if}

		<tr>
			<th class="text-r" width="100">性别：</th>
			<td>{$user['sex']}</td>
		</tr>

		<tr>
			<th class="text-r">手机：</th>
			<td>{$user['tel']}</td>
		</tr>

		<tr>
			<th class="text-r" width="100">注册时间：</th>
			<td>{$user['ctime']|date="Y-m-d H:i:s",###}</td>
		</tr>

		<tr>
			<th class="text-r" width="100">用户身份：</th>
			<td>{$user['user_auth']}</td>
		</tr>

		<tr>
			<th class="text-r" width="100">推荐用户：</th>
			<td>{$user['rec_id']}</td>
		</tr>

		<tr>
			<th class="text-r" width="100">推荐奖金：</th>
			<td>{$user['rec_bonus']}(元)</td>
		</tr>

		<tr>
			<th class="text-r" width="100">使用状态：</th>
			<td>{if condition="$user.stop_status eq 1"}
					正在使用
				{else/}
					已停用
				{/if}
			</td>
		</tr>

		<tr>
			<th class="text-r" width="100">登录次数：</th>
			<td>{$user.times}(次)</td>
		</tr>

		<tr>
			<th class="text-r" width="100">登录IP：</th>
			<td>{if condition="$user.login_ip eq null"}
					暂无
				{else/}
					{$user.login_ip}
				{/if}
			</td>
		</tr>

		<tr>
			<th class="text-r" width="100">最新登录时间：</th>
			<td>{if condition="$user.login_time eq null"}
					暂无
				{else/}
					{$user.login_time|date="Y-m-d H:i:s",###}
			{/if}
			</td>

		<tr>
			<th class="text-r" width="100">总推荐人：</th>
			<td>{$user['total_rec_id']}</td>
		</tr>

		<tr>
			<th class="text-r" width="100">省级推荐人：</th>
			<td>{$user['province_rec_id']}</td>
		</tr>

		<tr>
			<th class="text-r" width="100">市级推荐人：</th>
			<td>{$user['city_rec_id']}</td>
		</tr>

		<tr>
			<th class="text-r" width="100">区级推荐人：</th>
			<td>{$user['area_rec_id']}</td>
		</tr>

		<tr>
			<th class="text-r" width="100">校级推荐人：</th>
			<td>{$user['school_rec_id']}</td>
		</tr>
		</tbody>
	</table>
</div>
